home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: Is this a C BUG??? (A string issue)
- Date: Mon, 01 Apr 96 11:30:43 GMT
- Organization: none
- Message-ID: <828358243snz@genesis.demon.co.uk>
- References: <4jknpf$9k3@abel.cc.sunysb.edu> <4jmjgfINN8pr@keats.ugrad.cs.ubc.ca> <AD84A72A96681716E4@mcdiala03.it.luc.edu>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <AD84A72A96681716E4@mcdiala03.it.luc.edu>
- VArase@varase.it.luc.edu "Verne Arase" writes:
-
- >In article <4jmjgfINN8pr@keats.ugrad.cs.ubc.ca>,
- >c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) wrote:
- >
- > >When in doubt, process individual characters rather than being clever
- >with
- > >buffers and string manipulation. It can be more efficient and cleaner.
- >
- >Even better for fixed length records is open/read/write/close. You can even
- >use non-delimited records. (Why waste the space of a line delimiter, if
- >you're not going to use character formatted data?)
-
- open/read/write/close are not standard C. The correct standard approach to
- do this is fopen/fread/fwrite/fclose.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-